package com.zwps.biz.domain.converter;

import com.zwps.biz.api.model.dto.mointordentify.AlarmMessageDTO;
import com.zwps.biz.api.model.vo.strsvrr.StRsvrInitVO;
import com.zwps.biz.api.model.vo.strsvrr.StRsvrRVO;
import com.zwps.biz.dal.db.object.MonitorAlarmRecordDO;
import com.zwps.biz.dal.db.object.MonitorAlarmRecordIdentifyDO;
import com.zwps.biz.dal.db.object.StRsvrRDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.time.LocalDateTime;
import java.util.stream.Collectors;

@Mapper
public interface AlarmMessageConverter {
    AlarmMessageConverter INSTANCE = Mappers.getMapper(AlarmMessageConverter.class);
    MonitorAlarmRecordDO toAlarmRecordDO(AlarmMessageDTO dto);
    MonitorAlarmRecordIdentifyDO toAlarmRecordIdentifyDO(AlarmMessageDTO dto);

}
